package com.dzqc.fly.db.form;

import com.google.common.collect.Maps;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.cglib.beans.BeanMap;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Map;

@Data
@Schema(description = "基本分页参数")
public class BaseForm {
    @NotNull(message = "当前页码不能为空")
    @Schema(description = "当前页码")
    private Integer current;
    @NotNull(message = "分页大小不能为空")
    @Schema(description = "分页大小")
    private Integer size;

}
